package dao;
import tool.RowMapper;
import tool.BaseDao;
import java.util.List;
import java.sql.SQLException;
import java.sql.ResultSet;
import entity.EvaluationtbEntity;
import dao.mapper.EvaluationtbDAOI;

/**
*@author JiangFan
*/
public class EvaluationtbDAO extends BaseDao implements EvaluationtbDAOI {

}
class EvaluationtbRowMapper implements RowMapper<EvaluationtbEntity>{
	@Override
	public EvaluationtbEntity rowmap(ResultSet set) throws  SQLException{
		return new EvaluationtbEntity(
			set.getString("evaluation_id"),
			set.getString("orderDetails_id"),
			set.getString("picture"),
			set.getString("customer_id"),
			set.getInt("evaluation_state"),
			set.getString("evaluation_content")
		);
	}
}
